package com.springboot.springautowired;

/**
 * @author mac
 * @date 2021/9/17 4:56 下午
 */
public class RealSubject implements Subject{
    @Override
    public void hello(String str) {
        System.out.println("Hello  " + str);
    }

    @Override
    public String bye() {
        System.out.println("Goodbye");
        return "Over";
    }
}
